<?php 
class CHomeController extends CController{

	public function __construct() {
		parent::__construct();
		return true;
	}
	
	public function initialize() {
		parent::initialize();
		return true;
	}
	
	public function execute() {	
	
		switch( $this->m_strAction ) {
			case NULL:
			
			case 'view_slider':
				$this->handleViewSlider();
				break;
			
			default:
				// Empty default case
				
		}
	}
	
	public function handleViewSlider() {
	
		$this->displaySlider();
	}
	
	public function displaySlider() {
	
		display( 'Hey' );
	
	}

}
?>